import i18n from "@/locals";

const DAY = {
    SIGN_IN_FIRST: i18n.global.t('message.Week.a'),
    SIGN_IN_SECOND: i18n.global.t('message.Week.b'),
    SIGN_IN_THIRD: i18n.global.t('message.Week.c'),
    SIGN_IN_FOURTH: i18n.global.t('message.Week.d'),
    SIGN_IN_FIFTH: i18n.global.t('message.Week.e'),
    SIGN_IN_SIXTH: i18n.global.t('message.Week.f'),
    SIGN_IN_SEVENTH: i18n.global.t('message.Week.g'),
    getVal: function (key: string): any {
        //@ts-ignore
        return DAY[key];
    }
}
class InIitem {
    checkState: boolean;
    day: string;
    energy: number;
    constructor(day: string, check: boolean, energy: number) {
        this.checkState = check;
        this.energy = energy;
        // this.day = day;
        //@ts-ignore
        this.day = DAY[day];
    }
}

export { InIitem, DAY };